package com.buaa.aimall.goodsModule.Enum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum GoodsTypeEnum {
    MODEL("0", "MODEL"),
    COMPUTE("1", "COMPUTE");

    @EnumValue
    public final String code;

    @JsonValue
    public final String name;
}
